package com.kaka.service;

import com.kaka.pojo.Permission;

import java.util.List;

public interface PermissionService {

    List<Permission> findAll();

    Permission findById(int id);

    int edit(Permission permission);

    int addPermission(Permission permission);

    int deletePermission(int id);

    List<Permission> selectByRid(int rid);

    //根据uid查询权限数据
    public List<Permission> findByUid(int uid);
}
